package com.wxy.test1.problem1;

public class FlatsFactory implements HouseFactory{
    @Override
    public House createCommonHouse() {
        return new FlatsCommonHouse();
    }

    @Override
    public House createMediumHouse() {
        return new FlatsMediumHouse();
    }

    @Override
    public House createSplendidHouse() {
        return new FlatsSplendidHouse();
    }
}
